<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex,nofollow"/>
<title>현대엘리베이터 준법지원시스템</title>
<link rel="stylesheet" type="text/css" href="/css/common.css"/>
<link rel="stylesheet" type="text/css" href="/css/import.css"/>
<link rel="stylesheet" type="text/css" href="/css/reset.css"/>
<link rel="stylesheet" type="text/css" href="/css/style.css"/>
<link rel="stylesheet" type="text/css" href="/css/layout.css"/>
<link rel="stylesheet" type="text/css" href="/css/ethic.css"/>
<script type="text/javascript" language="javascript" src="/js/common.js"></script>
<script type="text/javascript" src="/js/jquery-1.6.2.js"></script> 
<script type="text/javascript" src="/js/jquery.rolling.js"></script>
<script type="text/javascript" src="/js/slidemenu.js"></script> 
<script type="text/javascript" src="/js/googleAnalytics.js"></script>	
<script type="text/javascript" src="/js/session.js"></script>
<%-- <script type="text/javascript" src="/js/project.js"></script> --%>
<script type="text/javascript" src="/js/pdfsize.js"></script>
<script type="text/javascript" language="javascript" src="/popup/20120213/iecheck_main.js"></script>
<script type="text/javascript">
	//레이어 팝업 열기
	/* var cnt = 0;
	function openLayer(IdName, tpos, lpos){
	  if(cnt==0){
		cnt++;
		var pop = document.getElementById(IdName);
		pop.style.display = "block";
		pop.style.top = tpos + "px";
		pop.style.left = lpos + "px";
	  }
	}
	//레이어 팝업 닫기
	function closeLayer(IdName){
		var pop = document.getElementById(IdName);
		pop.style.display = "none";
		cnt=0;
	}	 */
	
	function Show_Tab(Oper) {
		var i;
		var obj;
		for (i=1; i <= 4; i++)
		{
			obj = eval("Tab_" + i);

			if(i == Oper) {
				obj.style.display = "black";
			} else {
				obj.style.display = "none";
			}
		}
	}
</script>
<script type="text/javascript">
try{
var pageTracker = _gat._getTracker("UTF-8");
pageTracker._trackPageview();
} catch(err) {}
</script>
<script language="javascript">
function getReSize(){ 
	try{ 
		var objFrame = document.getElementById("ifrm"); 
		var objBody = ifrm.document.body; 
		ifrmHeight = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight); 
		
		if (ifrmHeight > 1) objFrame.style.height = ifrmHeight; 
		else objFrame.style.height = 1; 
	}catch(e){ 
	}; 
} 

function getRetry(){ 
	getReSize(); 
	//setTimeout('getRetry()',1); 
}

function getCookie( name ){  
		var nameOfCookie = name + "=";
		var x = 0;
		while ( x <= document.cookie.length )
		{
				var y = (x+nameOfCookie.length);
				if ( document.cookie.substring( x, y ) == nameOfCookie ) {
						if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
								endOfCookie = document.cookie.length;
						return unescape( document.cookie.substring( y, endOfCookie ) );
				}
				x = document.cookie.indexOf( " ", x ) + 1;
				if ( x == 0 )
						break;
		}
		return "";
}

function openPopup(){
	var popupWindow;
	var lLeft = 300;
    var lTop = 0;
    /* 
    if(getCookie("hcom_pop_121203") != 'done') { // 2012년 서비스 오픈 안내
	popupWindow = window.open('/popup/20121203/pop_20121203.html','hcom_pop_121203','left=0,top=0,width=365,height=435,scrollbars=0');
	}*/
    if(getCookie("hcom_pop_130509") != 'done') { // 2013년 준법지원 법률요청관련
    	popupWindow = window.open('/popup/20130509/pop_20130509.html','hcom_pop_130509','left=380,top=0,width=365,height=295,scrollbars=0');
    }
    if(getCookie("hcom_pop_121203") != 'done') { // 2012년 서비스 오픈 안내
   	popupWindow = window.open('/popup/20121203/pop_20121203.html','hcom_pop_121203','left=0,top=0,width=380,height=505,scrollbars=0');
    } 
	
} 
openPopup();
</script>
</head>
<body style="background-image:none;" oncontextmenu="return false" ondrogstart="return false" onselectstart="return false">
<div id="warp"> 
 <div id="header">
    <div class="header_box">
     <dl>
      <h1 class="logo"><a href="/main/login.hcom?id=<s:property value="#session.id" />&dept=<s:property value="#session.dept" />&position=<s:property value="#session.position" />&name=<s:property value="#session.name" />&email=<s:property value="#session.email" />"><img src="/images/common/logo.gif" width="162" height="30" alt="현대엘리베이터 로고" /></a>
      <input type="hidden" id="nameS" value="<s:property value='#session.name' />"/></h1>
      <h2 class="compliance_logo"><img src="/images/common/compliance_logo.gif"/></h2>
      <dd >
        <dl class="gn_box">
		<s:if test="%{#session.position_flag.equals('admin')}">
			<dd class="gn_1"><a href="/admin/boardList.hcom?board_code=BD100"><img src="/images/common/gnb_5.gif" alt="관리자" /></a></dd>
 	 	</s:if>
          <dd class="gn"><a href="/main/login.hcom?id=<s:property value="#session.id" />&dept=<s:property value="#session.dept" />&position=<s:property value="#session.position" />&name=<s:property value="#session.name" />&email=<s:property value="#session.email" />"> <img src="/images/common/gnb_1.gif" alt="home" /></a>
      <input type="hidden" id="nameS" value="<s:property value='#session.name' />"/></h1>
         </dd>
          <dd class="gn"><a href="/board/boardList.hcom?board_code=BD100"><img src="/images/common/gnb_3.gif" alt="notice" /></a></dd>
          <dd class="gn"><a href="/view/sitemap.jsp"><img src="/images/common/gnb_4.gif" alt="sitemap"/></a></dd>
          <dd class="gn"><a href="#" id="logout"><img src="/images/common/gnb_6.gif" alt="logout"/></a></dd>
        </dl>
      </dd>
    
     <div class="navigation">
        <ul id="navi">
          <!-- <li class="lnb1"><a href="/view/ethic/intro/charter.jsp"><img src="/images/common/mane_1.gif" alt="윤리경영" width="67" height="18"/></a> -->
           <li class="lnb1"><img src="/images/common/mane_1.gif" alt="윤리경영" width="67" height="18" style="cursor: pointer;"/>
            <ul class="uj1">
              <li class="sub1"><a href="/view/ethic/intro/charter.jsp">소개</a></li>
		      <li><a href="/view/ethic/norm/platform.jsp">윤리규범</a></li>
		      <li><a href="/view/ethic/test/autodiagnosis.jsp">윤리의식 자가진단</a></li>
		      <li><a href="/view/ethic/faq/faqList.jsp">윤리경영 FAQ</a></li>
		      <li><a href="/board/qnaList.hcom?board_code=BD201">윤리경영 Q&amp;A</a></li>
		      <li><a href="/board/boardList.hcom?board_code=BD301">윤리경영 게시판</a></li>
            </ul> 
         </li>
         <li class="lnb2"><img src="/images/common/menu_2.gif" alt=""/></li>
          <!--<li class="lnb2"><a href="/view/compliance/control/standard.jsp"><img src="/images/common/menu_3.gif" alt="준법지원" width="63" height="18"/></a>--> 
		   <li class="lnb2"><img src="/images/common/menu_3.gif" alt="준법지원" width="63" height="18" style="cursor: pointer;"/>
			<ul class="uj2">
		      <li class="sub2"><a href="/view/compliance/control/standard.jsp">준법통제</a></li>
		      <li><a href="/view/compliance/faq/faqList.jsp">준법지원 FAQ</a></li>
		      <li><a href="/board/qnaList.hcom?board_code=BD202">준법지원 Q&amp;A</a></li>
		      <li><a href="/board/boardList.hcom?board_code=BD302">준법지원 게시판</a></li>
			</ul>
          </li>
          <li class="lnb3"><img src="/images/common/menu_2.gif" alt=""/></li>
           <!--<li class="lnb3"><a href="/view/fairTrade/ceo/declaration.jsp"><img src="/images/common/menu_4.gif" alt="공정거래 " width="63" height="18"/></a>-->
           <li class="lnb3"><img src="/images/common/menu_4.gif" alt="공정거래 " width="63" height="18" style="cursor: pointer;"/>
           <ul class="uj3">
              <li class="sub3"><a href="/view/fairTrade/ceo/declaration.jsp">CEO자율의지선언문</a></li>
		      <li><a href="/view/fairTrade/program/plan.jsp">자율준수 프로그램</a></li>
		      <li><a href="/view/fairTrade/program/manual/consulting.jsp">CP 편람</a></li>
		      <li><a href="/view/fairTrade/faq/faqList.jsp">공정거래 FAQ</a></li>
		      <li><a href="/board/qnaList.hcom?board_code=BD203">공정거래 Q&amp;A</a></li>
		      <li><a href="/board/boardList.hcom?board_code=BD303">공정거래 게시판</a></li>
            </ul>
          </li>
          <li class="lnb4"><img src="/images/common/menu_2.gif" alt=""/></li>
           <!--<li class="lnb4"><a href="/view/work/guide/bussiness/bussiness.jsp"><img src="/images/common/menu_5.gif" alt="업무지원" width="79" height="18"/></a>--> 
            <li class="lnb4"><img src="/images/common/menu_5.gif" alt="업무지원" width="79" height="18" style="cursor: pointer;"/>
            <ul class="uj4">
			  <li class="sub4"><a href="/view/work/guide/bussiness/bussiness.jsp">업무지침서</a></li>
		      <li><s:if test="%{#session.position_flag.equals('employee')}">
		    		<a href="javascript:alert('열람권한이 없습니다.');">
		    	</s:if>
		    	<s:else>
		    		<a href="/view/work/entrust/departments.jsp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('work2','','/images/work/SP_menu_3_on.gif',1)">
		    	</s:else>    	
		    	위임전결규정</a></li>
		      <li><a href="/view/work/rule/transfer.jsp">업무규정</a></li>
		      <li><a href="/board/qnaList.hcom?board_code=BD205">법률자문요청</a></li>
		      <li><a href="/board/qnaList.hcom?board_code=BD206">소송개시요청</a></li>
		      <li><a href="/board/caseList.hcom?">소송진행현황</a></li>
		      <li><a href="/board/qnaList.hcom?board_code=BD204">업무지원 Q&amp;A</a></li>
		      <li><a href="/board/boardList.hcom?board_code=BD304">업무지원 게시판</a></li>
			</ul>
		  </li>
          <li class="lnb5"><img src="/images/common/menu_2.gif" alt=""/></li>
           <!--<li class="lnb5"><a href="/view/cyber/cyberInfo.jsp"><img src="/images/common/menu_6.gif" alt="사이버제보" width="80" height="18"/></a>--> 
            <li class="lnb5"><img src="/images/common/menu_6.gif" alt="사이버제보" width="80" height="18" style="cursor: pointer;"/>
            <ul class="uj5">
			  <li class="sub5"><a href="/view/cyber/cyberInfo.jsp">제보안내</a></li>
    		  <li><a href="/board/cyberRegForm.hcom?board_code=BD400">제보하기</a></li>
			</ul>
		  </li>
        </ul>
     </div>
    </div>
  </div>
  <!-- end-->
  
  
  
  
   
  <!-- content start-->
  <div id="main_visuall">
    <dl>
      <dd><span id="main_v_img"> </span>
    <!--<p class="btn">
	    	<img src="/images/main/btn_play.gif" style="cursor: pointer;" width="17" height="16" id="btnBannerPlay" alt="재생" /> 
	    	<img src="/images/main/btn_stop.gif" style="cursor: pointer;" width="17" height="16" id="btnBannerStop" alt="멈춤" />
	    </p> -->
     </dd>
    </dl>
  </div>
  <!-- <dl class="blueback" style="background-image: url('../images/main/blue_backimg.gif')">
    <dd class="main_all_img"><p class="main_img_1"><a href="/view/ethic/test/autodiagnosis.jsp"><img src="/images/main/main_img_1.gif" alt="윤리 의식 자가진단 윤리경영! 나는 얼마나 알고 지키고 있는지, 자가진단을 통해 한번 점검해 보세요." width="302" height="109"/></a></p>
    <p class="main_img_1"><a href="/view/compliance/faq/faqList.jsp"><img src="/images/main/main_img_2.gif" alt="준법지원 F &amp; A 질문과 답변형식으로 풀어본 준법지원! 보다 쉽고 명확하게 설명해 드립니다." width="289" height="109"/></a></p>
    <p class="main_img_3"><a href="/view/cyber/cyberInfo.jsp"><img src="/images/main/main_img_3.gif" alt="여러분의 소중한 제보는 공정하고 투명한 기업문화를 만듭니다." width="272" height="109" usemap="#Map" border="0"/></a></p>
    </dd>
  </dl> -->
  <div id="container">
    <dl class="table_box">
      <dd>
        <table cellspacing="0" cellpadding="0" border="0" summary="공지사항" >
          <caption>
        공지사항
          </caption>
          <colgroup>
          <col width="11" />
          <col width="11" />
          <col width="11" />
          <col width="11" />
          </colgroup>
          <thead>
            <tr>
              <th scope="col" colspan="2"><img src="/images/main/tit_Ethical_img_1.gif" alt="공지사항" width="121" height="23"/></th>
              <td scope="col" class="th_more"><a href="/board/boardList.hcom?board_code=BD100"><img src="/images/main/more_btn.gif" alt="more" width="35" height="10"/></a></td>
             </tr>
            <tr>
              <td scope="col" colspan="3"  >　</td>
            </tr>
          </thead>
		<tbody>
       		<s:if test="%{0 > list.size()}">
              	<tr>
                    <td colspan="3">게시물이 없습니다.</td>
                </tr>
            </s:if>
              	<s:iterator value="%{list}" status="i">
          	 <tr>
              <td class="td_img"><img src="/images/main/dotte.gif" alt="" width="5" height="5"/></td>
              <td class="td_txt"><a href = "/board/boardDetail.hcom?board_seq=${board_seq }&board_code=${board_code}"><span class="txt" title="${title}">
              	<c:choose>
		            	<c:when test="${title.length() > 16}">${title.substring(0,16)}..</c:when>
		            	<c:otherwise>${title}</c:otherwise>
		        </c:choose>
		        </span></a></td>
              <td class="td_txt_02"><span class="txt_day">${write_time.substring(5,10)}</span></td>
         	 </tr>
          </s:iterator>
        </tbody> 
        </table>
      </dd>
    </dl>
   <!--  <dl class="canon_box">
      <dd class="canon_img"><a href="/view/ethic/norm/platform.jsp"><img src="/images/main/tit_Ethical_img_2.gif" alt="윤리규범" width="272" height="104"/></a></dd>
    </dl> -->
    <dl class="canon_box">
      <dd>
        <table cellspacing="0" cellpadding="0" border="0" summary="최신글 소식" >
          <caption>
         최신글 소식
          </caption>
          <colgroup>
          <col width="11" />
          <col width="11" />
          <col width="11" />
          <col width="11" />
          </colgroup>
          <thead>
            <tr>
              <th scope="col" colspan="2"><img src="/images/main/request_tit.gif" alt="질의 및 요청" width="121" height="23"/></th>
              <!-- <td scope="col" class="th_more"><a href="/board/qnaList.hcom?board_code=BD206"><img src="/images/main/more_btn.gif" alt="more" width="35" height="10"/></a></td> -->
             </tr>
            <tr>
              <td scope="col" colspan="3"  >　</td>
            </tr>
          </thead>
		<tbody>
       		<s:if test="%{0 > newlist.size()}">
              	<tr>
                    <td colspan="3">게시물이 없습니다.</td>
                </tr>
            </s:if>
              	<s:iterator value="%{newlist}" status="i">
          	 <tr>
              <td class="td_img"><img src="/images/main/dotte.gif" alt="" width="5" height="5"/></td>
              <td class="td_txt"><a href = "/board/qnaDetail.hcom?board_seq=${board_seq }&board_code=${board_code}">
              <span class="txt" title="${title}">
			   	<c:choose>
		            	<c:when test="${title.length() > 16}">${title.substring(0,16)}..</c:when>
		            	<c:otherwise>${title}</c:otherwise>
		        </c:choose>
			  </span></a></td>
              <td class="td_txt_02"><span class="txt_day">${write_time.substring(5,10)}</span></td>
         	 </tr>
          </s:iterator>
        </tbody> 
        </table>
      </dd>
    </dl>
    <dl class="busy_box">
      <dd>
        <table cellspacing="0" cellpadding="0" border="0" summary="최신글 소식" >
          <caption>
         최신글 소식
          </caption>
          <colgroup>
          <col width="11" />
          <col width="11" />
          <col width="11" />
          <col width="11" />
          </colgroup>
          <thead>
            <tr>
              <th scope="col" colspan="2"><img src="/images/main/tit_Ethical_img_4.gif" alt="최근 게시글" width="121" height="23"/></th>
              <!-- <td scope="col" class="th_more"><a href="/board/qnaList.hcom?board_code=BD206"><img src="/images/main/more_btn.gif" alt="more" width="35" height="10"/></a></td> -->
             </tr>
            <tr>
              <td scope="col" colspan="3"  >　</td>
            </tr>
          </thead>
		<tbody>
       		<s:if test="%{0 > liblist.size()}">
              	<tr>
                    <td colspan="3">게시물이 없습니다.</td>
                </tr>
            </s:if>
              	<s:iterator value="%{liblist}" status="i">
          	 <tr>
              <td class="td_img"><img src="/images/main/dotte.gif" alt="" width="5" height="5"/></td>
              <td class="td_txt"><a href = "/board/boardDetail.hcom?board_seq=${board_seq }&board_code=${board_code}">
              <span class="txt">
			   	<c:choose>
		            	<c:when test="${title.length() > 16}">${title.substring(0,16)}..</c:when>
		            	<c:otherwise>${title}</c:otherwise>
		        </c:choose>
			  </span></a></td>
              <td class="td_txt_02"><span class="txt_day">${write_time.substring(5,10)}</span></td>
         	 </tr>
          </s:iterator>
        </tbody> 
        </table>
      </dd>
    </dl>
  </div>
  </div>
  <!-- contanier end--> 
  <!-- footer start-->
  <c:import url="/view/include/footer.jsp"/>
  <!-- end-->
  <!-- 
  <img src="/images/main/main_visuall2.jpg" width="949" height="385" alt=""/>
<img src="/images/main/main_visuall1.jpg" width="949" height="385" alt=""/>
 --> 

<script type="text/javascript">

$(document).ready(function(){
	var rollingDiv = $("#main_v_img");
	$(function() {			
		rollingDiv.rolling("right", 1420, 385);
		rollingDiv.addRollingItem("<img src='/images/main/main_visuall2.jpg' width='949' height='385' alt='' /> ");
		rollingDiv.addRollingItem("<img src='/images/main/main_visuall1.jpg' width='949' height='385' alt=''/> ");
		rollingDiv.startRolling(50, 5000, 10);
	});
	$("#btnBannerPlay").click(function(){
		$("#main_v_img").resumeRolling();
	});
	$("#btnBannerStop").click(function(){
		$("#main_v_img").stopRolling();
	});	
});
</script>

